package com.qcby.onlinelearningplatform.Dao;

import com.qcby.onlinelearningplatform.Entity.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeacherDao {

    public List<TeacherChannel> teacherChannel();

    public List<Teacher> teacherState(Integer pageSize,Integer pageIndex);

    public List<Student> studentInfo(Integer pageSize,Integer pageIndex);

    public List<Teacher> studentFindTeacher(Integer pageSize,Integer pageIndex);

    public List<Student> findNameSno(Student student);

    public int updateStudent(Student student);

    public List<StuHomework> showHomework(Integer id);

    public int insertHomework(HomeWork homeWork);

}
